const arr = [
	6, 13, 78, 6, 0, 3, 106,
	9, 12, 89, 8, 1, 9, 128,
	12, 18, 83, 9, 3, 11, 136,
]

const data = Array(6).fill(0).map((_, index) => {
	return [arr[index], arr[index + 7], arr[index + 14]];
});

const str = JSON.stringify(data)
console.log(str)